package com.example.terminalservice.common;

import lombok.Getter;

/**
 * @author 28142
 * @description 角色枚举类
 * @date 2023/8/5 10:23
 */
@Getter
public enum RoleEnum {
    ADMIN(1, "管理员"),
    USER(2, "普通用户");
    private Integer id;
    private String name;
    RoleEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
